package Game;

/**
 * 猎人
 */

public class Hunter extends People implements Hunt ,Attack{
    public Hunter(){}
    public Hunter(String name,int level){
        super(name,level);
    }
    @Override
    public void hunt() {
        System.out.println(this.getLevel()+"级的猎人"+this.getName()+"会打猎");
    }

    @Override
    public void attack() {
        System.out.println(this.getLevel()+"级的猎人"+this.getName()+"还会攻击");
    }
}
